package enum

fun main() {
    printFruit(Fruit.APPLE)
    printFruit(Fruit.ORANGE)
    printFruit(Fruit.BANANA)
}

fun printFruit(fruit: Fruit) {
    println("$fruit:${fruit.getFruitDesc()}")
}